﻿<baseClass:Control xmlns:baseClass="clr-namespace:EFS.RC.CCAdmin.Common" xmlns:my1="clr-namespace:EFS.Common.UI.Controls.Menu;assembly=EFS.Common.UI"  xmlns:my="clr-namespace:EFS.Common.UI.Controls;assembly=EFS.Common.UI"  x:Class="EFS.RC.CCAdmin.Surveys.Question.Edit"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:my2="clr-namespace:EFS.RC.CCAdmin.Surveys.Answer" 
    xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"				   
    mc:Ignorable="d"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" Loaded="Control_Loaded">

	<Grid MinHeight="300" MinWidth="800">
		<my:Header HorizontalAlignment="Stretch" Name="controlHeader" VerticalAlignment="Top" Height="95" Text="Quesion" />
		<Border Background="#FF585858" Margin="0,95,0,0" Height="1" VerticalAlignment="Top" />
		<Grid Margin="0,96,0,0">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto"></ColumnDefinition>
			</Grid.ColumnDefinitions>
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto"></RowDefinition>
				<RowDefinition Height="Auto"></RowDefinition>
				<RowDefinition Height="Auto"></RowDefinition>
			</Grid.RowDefinitions>
			<Grid.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="White" Offset="0.64" />
					<GradientStop Color="WhiteSmoke" Offset="1" />
				</LinearGradientBrush>
			</Grid.Background>
			<toolkit:DockPanel Grid.Column="0" Grid.Row="0" Height="Auto" HorizontalAlignment="Stretch" Margin="0,0,0,0" Name="dockPanel1" VerticalAlignment="Top" Width="Auto" >
				<sdk:Label  HorizontalAlignment="Left" Name="labelSurveyName" Content="Name:" Margin="10,5,0,0" VerticalAlignment="Center" />
				<TextBox Name="textBoxQuestionName" VerticalAlignment="Center" Margin="5,10,5,0" Width="735" HorizontalAlignment="Right"/>
			</toolkit:DockPanel>
			<toolkit:DockPanel Grid.Row="0" Grid.Column="0" Height="Auto" HorizontalAlignment="Stretch" Margin="0,30,0,0" Name="dockPanel3" VerticalAlignment="Top" Width="Auto">
				<sdk:Label  HorizontalAlignment="Left" Name="label1" Content="Priority:" Margin="10,5,0,0" VerticalAlignment="Center" />
				<TextBox Name="textBoxPriority" VerticalAlignment="Center" Margin="0,10,5,0" Width="735" HorizontalAlignment="Right"/>
			</toolkit:DockPanel>
			<toolkit:DockPanel Grid.Row="1" Grid.Column="0" Height="Auto" HorizontalAlignment="Stretch" Margin="0,30,0,0" Name="docPanel2" VerticalAlignment="Top" Width="Auto">
				<sdk:Label HorizontalAlignment="Left" Name="label2" Content=" Answer Orientation" Margin="10,5,0,0" VerticalAlignment="Center"/>
				<!--<ComboBox Name="comboAnswerOrientation" VerticalAlignment="Top" Margin="10,5,0,0" Width="300" SelectionChanged="comboAnswerOrientation_SelectionChanged">
					<ComboBoxItem Content="Vertical Alignment" IsSelected="True" Tag="1"  />
					<ComboBoxItem Content="Horizontal Alignment" Tag="2"/>
				</ComboBox>-->
				<RadioButton Name="HorizontalButtonAlign" Content="Horizontal Aligment"   VerticalAlignment="Top" Margin="100,5,0,0" Checked="HorizontalButtonAlign_Checked" />
				<RadioButton Name="VerticalButtonAlign" Content="Vertical Alignment" VerticalAlignment="top" Margin="200,5,0,0" Checked="VerticalButtonAlign_Checked" />
			</toolkit:DockPanel>
			<toolkit:DockPanel Grid.Column="0" Grid.Row="2" MinHeight="500" HorizontalAlignment="Stretch" Margin="0,0,0,0" Name="dockPanelCategoryList" VerticalAlignment="Stretch" Width="Auto" >
				<my2:List x:Name="surveyAnswersList" HorizontalAlignment="Stretch" Margin="6,10,0,0" VerticalAlignment="Stretch" />
			</toolkit:DockPanel>
		</Grid>
	</Grid>
</baseClass:Control>